package events {
	import flash.events.Event;
	
	/**
	 * Event dispatched when a new channel needs to be added.
	 */
	public class AddChannelEvent extends Event {
		public function AddChannelEvent(type:String, channelURL:String,
										name:String, bubbles:Boolean = false, 
										cancelable:Boolean = false) {
			super(type, bubbles, cancelable);
			
			this.channelURL = channelURL;
			this.name = name;	
		}
		
		public var channelURL:String;
		public var name:String;
		
		public static const ADD_CHANNEL:String = "addChannel";
	}
}